Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

z[-methods

Methods for Function [


Description

Extract part of evidence structure [

Methods

signature(x = "credal", i = "ANY", j="ANY", value="ANY")

Extract probabilities

signature(x = "mass", i = "character", j="missing", value="ANY")

Extract focal element(s)

Author(s)

Alexander Karlsson

Examples

# construct a state space
stateSpace <- c("a", "b", "c")

# construct credal sets with the given state space
c <- credal(c(0.1, 0.1, 0.1), c(0.8, 0.8, 0.8), stateSpace) 

# extract first and second extreme point
c[1:2,]

# mass functions 
m <- mass(list("a"=0.1, "b"=0.1 , "c"=0.4, "a/b/c"=0.4), stateSpace)  

# extract focal elements
m[c("a","a/b/c")]

EvCombR

Evidence Combination in R

v0.1-2
MIT + file LICENSE
Authors
Alexander Karlsson
Initial release
2014-04-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.